//
//  DataBaseHandle.h
//  舒适家
//
//  Created by dllo on 15/10/6.
//  Copyright (c) 2015年 lsc. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <sqlite3.h>
#import "Model.h"
@interface DataBaseHandle : NSObject

+(instancetype)shareDataBaseHandle;
-(void)openDB1;//创建并打开数据库
//创建
-(void)createAllTable;
//插入
-(void)insertCellModelTable:(Model *)model;
//查询
-(NSMutableArray *)select;
//删除
-(void)deleteTable:(NSString *)content_url;
//删除表
-(void)dorpTable;
//关闭数据库
-(void)closeDB1;

@end
